<!DOCTYPE html>


  <html class="light page-post">


<head>
  <meta charset="utf-8">
  
  <title>Android API Guide - 动画资源 | 东窗随笔</title>

  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

  
    <meta name="keywords" content="动画," />
  

  <meta name="description" content="&amp;#x539F;&amp;#x6587;&amp;#x94FE;&amp;#x63A5;
&amp;#x52A8;&amp;#x753B;&amp;#x8D44;&amp;#x6E90; &amp;#x5C5E;&amp;#x6027;&amp;#x52A8;&amp;#x753B; (Property Animation)     &amp;#x4F7F;&amp;#x7528;Animator &amp;#x5728;&amp;#x4E00;&amp;#x6BB5;&amp;#x65F6;&amp;#x95F4;&amp;#x5185;&amp;#x">
<meta property="og:type" content="article">
<meta property="og:title" content="Android API Guide - 动画资源">
<meta property="og:url" content="http://hanlyjiang.github.io/2016/08/15/Android-动画资源-API-Guide/index.html">
<meta property="og:site_name" content="东窗随笔">
<meta property="og:description" content="&amp;#x539F;&amp;#x6587;&amp;#x94FE;&amp;#x63A5;
&amp;#x52A8;&amp;#x753B;&amp;#x8D44;&amp;#x6E90; &amp;#x5C5E;&amp;#x6027;&amp;#x52A8;&amp;#x753B; (Property Animation)     &amp;#x4F7F;&amp;#x7528;Animator &amp;#x5728;&amp;#x4E00;&amp;#x6BB5;&amp;#x65F6;&amp;#x95F4;&amp;#x5185;&amp;#x">
<meta property="og:updated_time" content="2016-12-08T10:13:52.796Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Android API Guide - 动画资源">
<meta name="twitter:description" content="&amp;#x539F;&amp;#x6587;&amp;#x94FE;&amp;#x63A5;
&amp;#x52A8;&amp;#x753B;&amp;#x8D44;&amp;#x6E90; &amp;#x5C5E;&amp;#x6027;&amp;#x52A8;&amp;#x753B; (Property Animation)     &amp;#x4F7F;&amp;#x7528;Animator &amp;#x5728;&amp;#x4E00;&amp;#x6BB5;&amp;#x65F6;&amp;#x95F4;&amp;#x5185;&amp;#x">

  

  
    <link rel="icon" href="/favicon.ico">
  

  <link href="/css/styles.css?v=d671a41f" rel="stylesheet">


  
    <link rel="stylesheet" href="/css/personal-style.css">
  

  

  
  <script type="text/javascript">
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "//hm.baidu.com/hm.js?57e94d016e201fba3603a8a2b0263af0";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
  </script>



  
    <script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>
  

  
    <link rel="stylesheet" href="//cdn.bootcss.com/font-awesome/4.3.0/css/font-awesome.min.css">
  
</head>

<body>


  
    <span id="toolbox-mobile" class="toolbox-mobile">观乎</span>
  

  <div class="post-header CENTER">
   
  <div class="toolbox">
    <a class="toolbox-entry" href="/">
      <span class="toolbox-entry-text">观乎</span>
      <i class="icon-angle-down"></i>
      <i class="icon-home"></i>
    </a>
    <ul class="list-toolbox">
      
        <li class="item-toolbox">
          <a
            class="ROUND_RECT"
            href="/archives/"
            rel="noopener noreferrer"
            target="_self"
            >
            博客
          </a>
        </li>
      
        <li class="item-toolbox">
          <a
            class="ROUND_RECT"
            href="/category/"
            rel="noopener noreferrer"
            target="_self"
            >
            分类
          </a>
        </li>
      
        <li class="item-toolbox">
          <a
            class="ROUND_RECT"
            href="/tag/"
            rel="noopener noreferrer"
            target="_self"
            >
            标签
          </a>
        </li>
      
        <li class="item-toolbox">
          <a
            class="ROUND_RECT"
            href="/about/"
            rel="noopener noreferrer"
            target="_self"
            >
            关于
          </a>
        </li>
      
        <li class="item-toolbox">
          <a
            class="ROUND_RECT"
            href="/atom.xml"
            rel="noopener noreferrer"
            target="_blank"
            >
            RSS
          </a>
        </li>
      
        <li class="item-toolbox">
          <a
            class="ROUND_RECT"
            href="/search/"
            rel="noopener noreferrer"
            target="_self"
            >
            搜索
          </a>
        </li>
      
    </ul>
  </div>


</div>


  <div id="toc" class="toc-article">
    <strong class="toc-title">文章目录</strong>
    <ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#动画资源"><span class="toc-text">动画资源</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#1-属性动画"><span class="toc-text">1. 属性动画</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#2-视图动画"><span class="toc-text">2. 视图动画</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#21-补间动画"><span class="toc-text">2.1  补间动画</span></a><ol class="toc-child"><li class="toc-item toc-level-5"><a class="toc-link" href="#211-插值器interpolators"><span class="toc-text">2.1.1 插值器（Interpolators）</span></a></li></ol></li><li class="toc-item toc-level-4"><a class="toc-link" href="#212-自定义插值器"><span class="toc-text">2.1.2 自定义插值器</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#22-帧动画"><span class="toc-text">2.2 帧动画</span></a></li></ol></li></ol></li></ol>
  </div>



<div class="content content-post CENTER">
   <article id="post-Android-动画资源-API-Guide" class="article article-type-post" itemprop="blogPost">
  <header class="article-header">
    <h1 class="post-title">Android API Guide - 动画资源</h1>

    <div class="article-meta">
      <span>
        <i class="icon-calendar"></i>
        <span>2016.08.15</span>
      </span>

      
        <span class="article-author">
          <i class="icon-user"></i>
          <span>hanlyjiang@outlook.com</span>
        </span>
      

      
  <span class="article-category">
    <i class="icon-list"></i>
    <a class="article-category-link" href="/categories/Android/">Android</a> / <a class="article-category-link" href="/categories/Android/API-Guide/">API_Guide</a>
  </span>



      
        <span>
          <i class="icon-comment"></i>
          <a href="http://hanlyjiang.site/2016/08/15/Android-动画资源-API-Guide/#disqus_thread"></a>
        </span>
      

      
      <i class="fa fa-eye"></i> 
        <span id="busuanzi_container_page_pv">
           &nbsp热度 <span id="busuanzi_value_page_pv">
           <i class="fa fa-spinner fa-spin"></i></span>℃
        </span>
      

      
      
    </div>
  </header>

  <div class="article-content">
    
      <p><a href="https://developer.android.com/guide/topics/resources/animation-resource.html?hl=zh-cn" target="_blank" rel="external">&#x539F;&#x6587;&#x94FE;&#x63A5;</a></p>
<h2 id="&#x52A8;&#x753B;&#x8D44;&#x6E90;"><a href="#&#x52A8;&#x753B;&#x8D44;&#x6E90;" class="headerlink" title="&#x52A8;&#x753B;&#x8D44;&#x6E90;"></a>&#x52A8;&#x753B;&#x8D44;&#x6E90;</h2><p><a href="https://developer.android.com/guide/topics/resources/animation-resource.html?hl=zh-cn#Property" target="_blank" rel="external"><strong> &#x5C5E;&#x6027;&#x52A8;&#x753B; (Property Animation)</strong> </a><br>    &#x4F7F;&#x7528;<a href="https://developer.android.com/reference/android/animation/Animator.html?hl=zh-cn" target="_blank" rel="external">Animator</a> &#x5728;&#x4E00;&#x6BB5;&#x65F6;&#x95F4;&#x5185;&#x4E0D;&#x65AD;&#x7684;&#x6539;&#x53D8;&#x5BF9;&#x8C61;&#x7684;&#x5C5E;&#x6027;&#x503C;</p>
<p><a href="https://developer.android.com/guide/topics/resources/animation-resource.html?hl=zh-cn#View" target="_blank" rel="external"><strong> &#x89C6;&#x56FE;&#x52A8;&#x753B;&#xFF08;View Animation&#xFF09; </strong></a><br>&#x6709;&#x4E24;&#x79CD;&#x7C7B;&#x578B;&#xFF1A;</p>
<ul>
<li><a href="https://developer.android.com/guide/topics/resources/animation-resource.html?hl=zh-cn#Tween" title="Tween animation" target="_blank" rel="external">&#x8865;&#x95F4;&#x52A8;&#x753B;(Tween)</a>: &#x5728;&#x4E00;&#x4E2A;&#x5355;&#x5F20;&#x56FE;&#x7247;&#x4E0A;&#x8FDB;&#x884C;&#x4E00;&#x7CFB;&#x5217;&#x53D8;&#x6362;&#xFF0C;&#x4F7F;&#x7528;<a href="https://developer.android.com/reference/android/view/animation/Animation.html?hl=zh-cn" target="_blank" rel="external">Animation</a> &#x521B;&#x5EFA;&#x3002;</li>
<li><a href="https://developer.android.com/guide/topics/resources/animation-resource.html?hl=zh-cn#Frame" title="Frame animation" target="_blank" rel="external">&#x5E27;&#x52A8;&#x753B;(Frame)</a>: &#x663E;&#x793A;&#x4E00;&#x7CFB;&#x5217;&#x56FE;&#x7247;&#x4F5C;&#x4E3A;&#x52A8;&#x753B;&#xFF0C;&#x4F7F;&#x7528;<a href="https://developer.android.com/reference/android/graphics/drawable/AnimationDrawable.html?hl=zh-cn" target="_blank" rel="external">AnimationDrawable</a></li>
</ul>
<h3 id="1-&#x5C5E;&#x6027;&#x52A8;&#x753B;"><a href="#1-&#x5C5E;&#x6027;&#x52A8;&#x753B;" class="headerlink" title="1. &#x5C5E;&#x6027;&#x52A8;&#x753B;"></a>1. &#x5C5E;&#x6027;&#x52A8;&#x753B;</h3><p>&#x4F7F;&#x7528;XML&#x5B9A;&#x4E49;&#x5982;&#x4F55;&#x6539;&#x53D8;&#x76EE;&#x6807;&#x5BF9;&#x8C61;&#x7684;&#x5C5E;&#x6027;&#xFF0C;&#x5982; &#x80CC;&#x666F;&#x8272;&#x3001;&#x900F;&#x660E;&#x5EA6;&#xFF0C;&#x5E76;&#x6307;&#x5B9A;&#x53D8;&#x6362;&#x65F6;&#x95F4;</p>
<ul>
<li><p>&#x6587;&#x4EF6;&#x8DEF;&#x5F84;<br>  <code>res/animator/filename.xml</code> &#x6587;&#x4EF6;&#x540D;&#x4F1A;&#x88AB;&#x7528;&#x4F5C;&#x8D44;&#x6E90;ID</p>
</li>
<li><p>&#x7F16;&#x8F91;&#x540E;&#x5BF9;&#x4E8E;&#x8D44;&#x6E90;&#x6570;&#x636E;&#x7C7B;&#x578B;&#xFF1A;<br>  <a href="https://developer.android.com/reference/android/animation/ValueAnimator.html?hl=zh-cn" target="_blank" rel="external">ValueAnimator</a>,<a href="https://developer.android.com/reference/android/animation/ObjectAnimator.html?hl=zh-cn" target="_blank" rel="external">ObjectAnimator</a>,<a href="https://developer.android.com/reference/android/animation/AnimatorSet.html?hl=zh-cn" target="_blank" rel="external">AnimatorSet</a></p>
</li>
<li>&#x8D44;&#x6E90;&#x5F15;&#x7528;&#x65B9;&#x5F0F;&#xFF1A;<ul>
<li>Java : <code>R.animator.filename</code></li>
<li>XML: <code>@[package:]animator/filename</code></li>
</ul>
</li>
<li>&#x683C;&#x5F0F;&#xFF1A;</li>
</ul>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div><div class="line">14</div><div class="line">15</div><div class="line">16</div><div class="line">17</div><div class="line">18</div><div class="line">19</div><div class="line">20</div><div class="line">21</div><div class="line">22</div><div class="line">23</div></pre></td><td class="code"><pre><div class="line">&lt;set</div><div class="line">	android:ordering=[&quot;together&quot; | &quot;sequentially&quot;]&gt;</div><div class="line">	&lt;objectAnimator</div><div class="line">		android:propertyName=&quot;string&quot;</div><div class="line">		android:duration=&quot;int&quot;</div><div class="line">		android:valueFrom=&quot;float | int | color&quot;</div><div class="line">		android:valueTo=&quot;float | int | color&quot;</div><div class="line">		android:startOffset=&quot;int&quot;</div><div class="line">		android:repeatCount=&quot;int&quot;</div><div class="line">		android:repeatMode=[&quot;repeat&quot; | &quot;reverse&quot;]</div><div class="line">		android:valueType=[&quot;intType&quot; | &quot;floatType&quot;]/&gt;</div><div class="line">	&lt;animator</div><div class="line">		android:duration=&quot;int&quot;</div><div class="line">		android:valueFrom=&quot;float | int | color&quot;</div><div class="line">		android:valueTo=&quot;float | int | color&quot;</div><div class="line">		android:startOffset=&quot;int&quot;</div><div class="line">		android:repeatCount=&quot;int&quot;</div><div class="line">		android:repeatMode=[&quot;repeat&quot; | &quot;reverse&quot;]</div><div class="line">		android:valueType=[&quot;intType&quot; | &quot;floatType&quot;]/&gt;</div><div class="line">	&lt;set&gt;</div><div class="line">	...</div><div class="line">	&lt;/set&gt;</div><div class="line">&lt;/set&gt;</div></pre></td></tr></table></figure>
<h3 id="2-&#x89C6;&#x56FE;&#x52A8;&#x753B;"><a href="#2-&#x89C6;&#x56FE;&#x52A8;&#x753B;" class="headerlink" title="2. &#x89C6;&#x56FE;&#x52A8;&#x753B;"></a>2. &#x89C6;&#x56FE;&#x52A8;&#x753B;</h3><h4 id="21-&#x8865;&#x95F4;&#x52A8;&#x753B;"><a href="#2-1-&#x8865;&#x95F4;&#x52A8;&#x753B;" class="headerlink" title="2.1  &#x8865;&#x95F4;&#x52A8;&#x753B;"></a>2.1  &#x8865;&#x95F4;&#x52A8;&#x753B;</h4><ul>
<li><p>&#x6587;&#x4EF6;&#x8DEF;&#x5F84;&#xFF1A;<br><code>res/anim/filename.xml</code></p>
</li>
<li><p>&#x7F16;&#x8BD1;&#x540E;&#x8D44;&#x6E90;&#x5BF9;&#x4E8E;&#x6570;&#x636E;&#x7C7B;&#x578B;&#xFF1A;<br><a href="https://developer.android.com/reference/android/view/animation/Animation.html?hl=zh-cn" target="_blank" rel="external"><code>Animation</code></a></p>
</li>
<li><p>&#x5F15;&#x7528;&#x8D44;&#x6E90;&#xFF1A;<br>Java : <code>R.anim.filename</code><br>XML: <code>@[package:]anim/filename</code></p>
</li>
<li><p>&#x683C;&#x5F0F;&#xFF1A;</p>
</li>
</ul>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div><div class="line">14</div><div class="line">15</div><div class="line">16</div><div class="line">17</div><div class="line">18</div><div class="line">19</div><div class="line">20</div><div class="line">21</div><div class="line">22</div><div class="line">23</div><div class="line">24</div><div class="line">25</div><div class="line">26</div><div class="line">27</div><div class="line">28</div></pre></td><td class="code"><pre><div class="line">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;</div><div class="line">&lt;set xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;</div><div class="line">	android:interpolator=&quot;@[package:]anim/interpolator_resource&quot;</div><div class="line">	android:shareInterpolator=[&quot;true&quot; | &quot;false&quot;] &gt;</div><div class="line">	&lt;alpha</div><div class="line">		android:fromAlpha=&quot;float&quot;</div><div class="line">		android:toAlpha=&quot;float&quot; /&gt;</div><div class="line">	&lt;scale</div><div class="line">		android:fromXScale=&quot;float&quot;</div><div class="line">		android:toXScale=&quot;float&quot;</div><div class="line">		android:fromYScale=&quot;float&quot;</div><div class="line">		android:toYScale=&quot;float&quot;</div><div class="line">		android:pivotX=&quot;float&quot;</div><div class="line">		android:pivotY=&quot;float&quot; /&gt;</div><div class="line">	&lt;translate</div><div class="line">		android:fromXDelta=&quot;float&quot;</div><div class="line">		android:toXDelta=&quot;float&quot;</div><div class="line">		android:fromYDelta=&quot;float&quot;</div><div class="line">		android:toYDelta=&quot;float&quot; /&gt;</div><div class="line">	&lt;rotate</div><div class="line">		android:fromDegrees=&quot;float&quot;</div><div class="line">		android:toDegrees=&quot;float&quot;</div><div class="line">		android:pivotX=&quot;float&quot;</div><div class="line">		android:pivotY=&quot;float&quot; /&gt;</div><div class="line">	&lt;set&gt;</div><div class="line">		...</div><div class="line">	&lt;/set&gt;</div><div class="line">&lt;/set&gt;</div></pre></td></tr></table></figure>
<h5 id="211-&#x63D2;&#x503C;&#x5668;interpolators"><a href="#2-1-1-&#x63D2;&#x503C;&#x5668;&#xFF08;Interpolators&#xFF09;" class="headerlink" title="2.1.1 &#x63D2;&#x503C;&#x5668;&#xFF08;Interpolators&#xFF09;"></a>2.1.1 &#x63D2;&#x503C;&#x5668;&#xFF08;Interpolators&#xFF09;</h5><h4 id="212-&#x81EA;&#x5B9A;&#x4E49;&#x63D2;&#x503C;&#x5668;"><a href="#2-1-2-&#x81EA;&#x5B9A;&#x4E49;&#x63D2;&#x503C;&#x5668;" class="headerlink" title="2.1.2 &#x81EA;&#x5B9A;&#x4E49;&#x63D2;&#x503C;&#x5668;"></a>2.1.2 &#x81EA;&#x5B9A;&#x4E49;&#x63D2;&#x503C;&#x5668;</h4><ul>
<li>&#x7565;</li>
</ul>
<h4 id="22-&#x5E27;&#x52A8;&#x753B;"><a href="#2-2-&#x5E27;&#x52A8;&#x753B;" class="headerlink" title="2.2 &#x5E27;&#x52A8;&#x753B;"></a>2.2 &#x5E27;&#x52A8;&#x753B;</h4><p>&#x6309;&#x987A;&#x5E8F;&#x663E;&#x793A;&#x4E00;&#x7CFB;&#x5217;&#x56FE;&#x7247;</p>
<ul>
<li>&#x6587;&#x4EF6;&#x8DEF;&#x5F84;<br>  <code>res/drawable/filename.xml</code></li>
<li>&#x7F16;&#x8BD1;&#x540E;&#x5BF9;&#x5E94;&#x8D44;&#x6E90;&#x7C7B;&#x578B;&#xFF1A;<br>  <a href="https://developer.android.com/reference/android/graphics/drawable/AnimationDrawable.html?hl=zh-cn" target="_blank" rel="external">AnimationDrawable</a></li>
<li>&#x5F15;&#x7528;&#x65B9;&#x5F0F;&#xFF1A;<br>Java: <code>R.drawable.filename</code><br>XML: <code>@[package:]drawable.filename</code></li>
<li><p>&#x683C;&#x5F0F;:</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div></pre></td><td class="code"><pre><div class="line">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;</div><div class="line">&lt;animation-list xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;</div><div class="line">	android:oneshot=[&quot;true&quot; | &quot;false&quot;] &gt;</div><div class="line">	&lt;item</div><div class="line">		android:drawable=&quot;@[package:]drawable/drawable_resource_name&quot;</div><div class="line">		android:duration=&quot;integer&quot; /&gt;</div><div class="line">&lt;/animation-list&gt;</div></pre></td></tr></table></figure>
</li>
<li><p>&#x793A;&#x4F8B;&#xFF1A;</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div></pre></td><td class="code"><pre><div class="line">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;</div><div class="line">&lt;animation-list xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;</div><div class="line">    android:oneshot=&quot;false&quot;&gt;</div><div class="line">    &lt;item android:drawable=&quot;@drawable/rocket_thrust1&quot; android:duration=&quot;200&quot; /&gt;</div><div class="line">    &lt;item android:drawable=&quot;@drawable/rocket_thrust2&quot; android:duration=&quot;200&quot; /&gt;</div><div class="line">    &lt;item android:drawable=&quot;@drawable/rocket_thrust3&quot; android:duration=&quot;200&quot; /&gt;</div><div class="line">&lt;/animation-list&gt;</div><div class="line">//------- Java &#x4EE3;&#x7801;</div><div class="line">ImageView rocketImage = (ImageView) findViewById(R.id.rocket_image);</div><div class="line">rocketImage.setBackgroundResource(R.drawable.rocket_thrust);</div><div class="line">rocketAnimation = (AnimationDrawable) rocketImage.getBackground();</div><div class="line">rocketAnimation.start();</div></pre></td></tr></table></figure></li>
</ul>

    
  </div>
</article>

</div>


  <div class="text-center donation">
    <div class="inner-donation">
      <span class="btn-donation">支持一下</span>
      <div class="donation-body">
        <div class="tip text-center">扫一扫，支持HanlyJiang</div>
        <ul class="theme.donation.items.length">
        
          <li class="item">
            <img src="/images/qr-wechat.png" alt="">
          </li>
        
          <li class="item">
            <img src="/images/qr_zhifubao.jpg" alt="">
          </li>
        
        </ul>
      </div>
    </div>
  </div>




  <a id="backTop" class="back-top">
    <i class="icon-angle-up"></i>
  </a>




  <div class="modal" id="modal">
  <span id="cover" class="cover hide"></span>
  <div id="modal-dialog" class="modal-dialog hide-dialog">
    <div class="modal-header">
      <span id="close" class="btn-close">关闭</span>
    </div>
    <hr>
    <div class="modal-body">
      <ul class="list-toolbox">
        
          <li class="item-toolbox">
            <a
              class="ROUND_RECT"
              href="/archives/"
              rel="noopener noreferrer"
              target="_self"
              >
              博客
            </a>
          </li>
        
          <li class="item-toolbox">
            <a
              class="ROUND_RECT"
              href="/category/"
              rel="noopener noreferrer"
              target="_self"
              >
              分类
            </a>
          </li>
        
          <li class="item-toolbox">
            <a
              class="ROUND_RECT"
              href="/tag/"
              rel="noopener noreferrer"
              target="_self"
              >
              标签
            </a>
          </li>
        
          <li class="item-toolbox">
            <a
              class="ROUND_RECT"
              href="/about/"
              rel="noopener noreferrer"
              target="_self"
              >
              关于
            </a>
          </li>
        
          <li class="item-toolbox">
            <a
              class="ROUND_RECT"
              href="/atom.xml"
              rel="noopener noreferrer"
              target="_blank"
              >
              RSS
            </a>
          </li>
        
          <li class="item-toolbox">
            <a
              class="ROUND_RECT"
              href="/search/"
              rel="noopener noreferrer"
              target="_self"
              >
              搜索
            </a>
          </li>
        
      </ul>

    </div>
  </div>
</div>



  
      <div class="fexo-comments comments-post">
    
  <section class="disqus-comments">
    <div id="disqus_thread">
      <noscript>Please enable JavaScript to view the <a href="//disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
    </div>
  </section>

  <script>
    var disqus_shortname = 'forsigner';
    
    var disqus_url = 'http://hanlyjiang.github.io/2016/08/15/Android-动画资源-API-Guide/';
    
    (function(){
      var dsq = document.createElement('script');
      dsq.type = 'text/javascript';
      dsq.async = true;
      dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
      (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
    })();
  </script>

  <script id="dsq-count-scr" src="//forsigner.disqus.com/count.js" async></script>



    




  </div>

  

  <script type="text/javascript">
  function loadScript(url, callback) {
    var script = document.createElement('script')
    script.type = 'text/javascript';

    if (script.readyState) { //IE
      script.onreadystatechange = function() {
        if (script.readyState == 'loaded' ||
          script.readyState == 'complete') {
          script.onreadystatechange = null;
          callback();
        }
      };
    } else { //Others
      script.onload = function() {
        callback();
      };
    }

    script.src = url;
    document.getElementsByTagName('head')[0].appendChild(script);
  }

  window.onload = function() {
    loadScript('/js/bundle.js?235683', function() {
      // load success
    });
  }
</script>

</body>
</html>
